package cn.iocoder.yudao.module.erp.controller.admin.product.vo.product;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - ERP 商品库存和克重信息 Response VO")
@Data
public class ErpProductStockWeightRespVO {

    @Schema(description = "商品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long productId;

    @Schema(description = "商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "黄金手镯")
    private String productName;

    @Schema(description = "商品条码", example = "123456789")
    private String barCode;

    @Schema(description = "商品克重（克）", requiredMode = Schema.RequiredMode.REQUIRED, example = "10.500")
    private BigDecimal weight;

    @Schema(description = "总库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    private BigDecimal totalStockCount;

    @Schema(description = "指定仓库库存数量", example = "50")
    private BigDecimal warehouseStockCount;

    @Schema(description = "仓库编号", example = "1")
    private Long warehouseId;

    @Schema(description = "仓库名称", example = "主仓库")
    private String warehouseName;

}



